package com.skeleton.db.dto;

import com.skeleton.common.base.dto.BaseDto;
import com.skeleton.db.entity.UserAttention;

public class UserAttentionDto extends BaseDto {

	private String loginnameFrom;
	private String loginnameTo;
	private char attentionType;

	public UserAttention toEntity() {
		UserAttention entity = new UserAttention();
		entity.setLoginname_from(loginnameFrom);
		entity.setLoginname_to(loginnameTo);
		entity.setAttention_type(attentionType);
		return entity;
	}

	public String getLoginnameFrom() {
		return loginnameFrom;
	}

	public void setLoginnameFrom(String loginnameFrom) {
		this.loginnameFrom = loginnameFrom;
	}

	public String getLoginnameTo() {
		return loginnameTo;
	}

	public void setLoginnameTo(String loginnameTo) {
		this.loginnameTo = loginnameTo;
	}

	public char getAttentionType() {
		return attentionType;
	}

	public void setAttentionType(char attentionType) {
		this.attentionType = attentionType;
	}

}
